import { requestClient } from '#/api/request';

const getToolInfo = (toolId: string) => {
  return requestClient.get(`/dsc-systemMS/dsc-gatool/getGATool/${toolId}`);
};

const convertSgrd2Geotiff = (convertParams: any) => {
  return requestClient.post(
    '/dsc-systemMS/dsc-gatool/convertSgrd2Geotiff',
    convertParams,
  );
};

const getToolList = () => {
  return requestClient.get('/dsc-systemMS/dsc-gatool/getGAToolList');
};
export default {
  getToolInfo,
  convertSgrd2Geotiff,
  getToolList,
};
